package net.zjitc.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.KeySequence;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;


/**
 * @Author 毛钰深
 * @Create 2021/12/17 10:48
 */
@Data
@TableName("sp_attribute")
public class Attribute {

    @TableId(type = IdType.AUTO)
    private Integer attr_id;

    private String attr_name;

    private Integer cat_id;

    private String attr_sel;

    private String attr_write;

    private String attr_vals;
    @JsonIgnore
    private Integer delete_time;

    public void setAttrId(Integer attr_id) {
        this.attr_id = attr_id;
    }

    public void setAttrName(String attr_name) {
        this.attr_name = attr_name;
    }

    public void setCatId(Integer cat_id) {
        this.cat_id = cat_id;
    }

    public void setAttrSel(String attr_sel) {
        this.attr_sel = attr_sel;
    }

    public void setAttrVals(String attr_vals) {
        this.attr_vals = attr_vals;
    }

    public void setAttrWrite(String attr_write) {
        this.attr_write = attr_write;
    }

    public void setDeleteTime(Integer delete_time){
        this.delete_time=delete_time;
    }
}
